#pragma once
#include "CFTracker.h"

class MultipleObjectTracker {
public:
    MultipleObjectTracker() = default;
    ~MultipleObjectTracker();
    void init(cv::Mat& frame);
    void update(cv::Mat& frame);
    void reinit(cv::Mat& frame);

private:
    void close();

private:
    std::map<int, CFTracker*> trackers;
    uint num;
};